// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');

// Variables
@import 'variables';

// Bootstrap
@import '~bootstrap/scss/bootstrap';

//教程样式
.products-show-page{
  .cover {
    width: 100%;
    border: solid 1px #eee;
    padding: 30px 0;
  }
  .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .price {
    label {
      width: 69px;
      color: #999;
      font-size: 12px;
      padding-left: 10px;
    }
    em {
      font-family: Arial;
      font-size: 18px;
      font-style: normal;
      text-decoration: none;
      vertical-align: middle;
    }
    span {
      font-family: Arial;
      font-size: 24px;
      font-weight: bolder;
      text-decoration: none;
      vertical-align: middle;
    }
    line-height: 30px;
    background-color: #e9e9e9;
    color: red;
    font-size: 20px;
  }
  .sales_and_reviews {
    border-top: 1px dotted #c9c9c9;
    border-bottom: 1px dotted #c9c9c9;
    margin: 5px 0 10px;
    display: flex;
    flex-direction: row;
    font-size: 12px;
    &>div {
      &.sold_count,&.review_count {
        border-right: 1px dotted #c9c9c9;
      }
      width: 33%;
      text-align: center;
      padding: 5px;
      .count {
        color: #FF0036;
        font-weight: 700;
      }
    }
  }
  .skus {
    &>label {
      color: #999;
      font-size: 12px;
      padding: 0 10px 0 10px;
    }
    .btn-group {
      margin-left: -10px;
      label {
        border-radius: 0 !important;
        margin: 1px 5px;
        padding: 2px 5px;
        font-size: 12px;
      }
      .btn {
        border: 1px solid #ccc;
      }
      .btn.active, .btn:hover {
        margin-top: 0px !important;
        background: #fff !important;
        border: 2px solid red !important;
      }
      .btn.focus {
        outline: 0 !important;
      }
    }
  }

  .cart_amount {
    label {
      color: #999;
      font-size: 12px;
      padding: 0 10px 0 10px;
    }
    font-size: 12px;
    color: #888;
    margin: 10px 0 20px;
    input {
      width: 50px;
      display: inline-block;
      border-radius: 0 !important;
    }
    span {
      color: #999;
      font-size: 12px;
      padding-left: 10px;
    }
  }
  .buttons {
    padding-left: 44px;
  }

  .product-detail  {
    .nav.nav-tabs > li > a {
      border-radius: 0 !important;
    }
    margin: 20px 0;
    .tab-content {
      border: 1px solid #eee;
      padding: 20px;
    }
  }
}

.products-favorites-page , .products-index-page{
  .products-list {
    padding: 0 15px;
    .product-item {
      padding: 0 5px;
      margin-bottom: 10px;
      .product-content {
        border: 1px solid #eee;
        .top {
          padding: 5px;
          img {
            width: 100%;
          }
          .price {
            margin-top: 5px;
            font-size: 20px;
            color: #ff0036;
            b {
              font-size: 14px;
            }
          }
          .title {
            margin-top: 10px;
            height: 32px;
            line-height: 12px;
            max-height: 32px;
            a {
              font-size: 12px;
              line-height: 14px;
              color: #333;
              text-decoration: none;
            }
          }
        }
        .bottom {
          font-size: 12px;
          display: flex;
          .sold_count span {
            color: #b57c5b;
            font-weight: bold;
          }
          .review_count span {
            color: #38b;
            font-weight: bold;
          }
          &>div {
            &:first-child {
              border-right: 1px solid #eee;
            }
            padding: 10px 5px;
            line-height: 12px;
            flex-grow: 1;
            border-top: 1px solid #eee;
          }
        }
      }
    }
  }
}
.cart-index-page {
  .product_list {
    .preview {
      img {
        max-width: 80px;
        max-height: 80px;
      }
      margin-right: 20px;
    }

    .product_info {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      font-size: 12px;
      .product_title, .sku_title, .warning {
        display: block;
      }

      .product_title a {
        color: #3c3c3c;
        font-size: 14px;
      }
      .not_on_sale {
        .product_title, .sku_title {
          text-decoration: line-through;
        }
        .warning {
          color: red;
        }
      }
    }

    .price {
      font-size: 12px;
      font-weight: 700;
      color: #3c3c3c;
    }

    input.amount {
      width: 60px;
      border-radius: 0 !important;
    }
  }
}
/**
  kaisou 新增自定义样式
 */
.kaisou-header h1{
  line-height: 100px;
}
/*logo和搜索表单*/
.kaisou-header .mallLogo{margin-left: 38px;float: left;}
.kaisou-header .mallSearch{float: right; width: 500px; padding-top: 30px; position: relative;}
.kaisou-header .mallSearch form{height: 43px; line-height: 38px; border-width: 1px 0 1px 1px; border: solid #393d49; position: relative;}
.kaisou-header .mallSearch input{height: 38px; line-height: 38px; width: 436px; float: left; border:none; position: relative; z-index: 2; background: none;}
.kaisou-header .mallSearch button{width: 58px; height: 38px; line-height: 38px; float: left; background: #393d49; border-radius:0;}
/*次级导航*/
.kaisou-sec-nav ul{
  text-align: center;
  background-color: #f8fafc;
}
.kaisou-sec-ul .layui-nav-item{
  margin: 0 10px 0 10px;
}
.kaisou-sec-ul .layui-nav-item a{
  color: #0A0E11 !important;
}
.kaisou-carousel img{
  width: 100%;
}
.kaisou-floors img {
  width: 100%;
}
.kaisou-sorts{
  font-size: x-large;
}
.layui-row{
  padding-top: 30px;
}
.kaisou-more img {
  height: 300px;
  width: 100%;
}
.kaisou-more .list-item{
  text-align: center;
}
.kaisou-more .list-item p{
  line-height: 20px;
  margin: 14px 0 14px 0;
}
.kaisou-more .list-item span{
  color: #d62728;
}
.kaisou-logo{
  position: absolute;
  left: 36px;
  top: 16px;
  color: #e9ecef;
}
/* Sticky footer styles */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 320px!important;
}
.footer{background: #2f2f2f; padding-bottom: 5px; position: absolute;bottom: 0;width: 100%; /* Set the fixed height of the footer here */}
.footer .ng-promise-box{border-bottom:1px solid #3d3d3d; line-height: 65px; text-align: center}
.footer .ng-promise-box .ng-promise{ box-sizing: border-box;}
.footer .ng-promise-box .ng-promise p a{ color: #fff; font-size: 20px; margin-right: 210px; padding-left: 44px; height: 40px; display: inline-block; line-height: 40px; }
.footer .ng-promise-box .ng-promise p a.icon2{padding-left: 56px; background-position:0 -44px;}
.footer .ng-promise-box .ng-promise p a.icon3{background-position:0 -80px;}
.footer .mod_help{text-align: center; color: #888888;}
.footer .mod_help p{margin:15px 0 15px 0;}
.footer .mod_help p a{color: #888888}
.footer .mod_help a{color: #888888 !important;}
.footer .mod_help .layui-row p span{padding:0 22px;position: absolute;right: 0;}

.kaisou-search input {
  width: 58%;
  float: right;
  display: none;
}
.kaisou-search button{
  margin-left: 10px;
  float: left;
  display: none;
}
/**
导航条布局
*/
h1,h2,h3{font-size: 14px;}
::-webkit-input-placeholder{color: #999}
/* 布局 */
.site-inline{font-size: 0;}
.site-tree, .site-content{display: inline-block;  *display:inline; *zoom:1; vertical-align: top; font-size: 14px;}
.site-tree{width: 220px; min-height: 900px; padding: 5px 0 20px;}
.site-content{width: 899px; min-height: 900px; padding: 20px 0 10px 20px;}
/* 头部 */
.header{height: 59px; border-bottom: 1px solid #404553;  background-color: #393D49;}
.logo{position: absolute; left: 0; top: 16px;display: none}
.logo img{width: 82px; height: 31px;}
.header .layui-nav{position: absolute; right: 0; top: 0; padding: 0; background: none;}
.header .layui-nav .layui-nav-item{margin: 0 20px; }
.header .layui-nav .layui-nav-item[mobile]{display: none;}
.header .layui-container .logo{left: 15px;}
.header .layui-container .layui-nav{right: 15px;}
.menu{position: absolute; right: 0; top: 0; line-height: 65px;}
.menu a{display:inline-block; *display:inline; *zoom:1; vertical-align:top;}
.menu a{position: relative; padding: 0 20px; margin: 0 20px; color: #c2c2c2; font-size: 14px;}
.menu a:hover{color: #fff; transition: all .5s; -webkit-transition: all .5s}
.menu a.this{color: #fff}
.menu a.this::after{content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 5px; background-color: #5FB878;}
.header-index{background-color: #05031A; border: none;}
.header-index .site-banner-bg{}
.header-index[spring]{background-color: #0D1206}
.header-index[summer]{background-color: #0A0E11}
.header-index[autumn]{background-color: #100903}
.header-index[winter]{background-color: #110F25/*#06041C*/}
.header-demo{height: 60px; border-bottom: none;}
.header-demo .logo{left: 40px;}
.header-demo .layui-nav{top: 0;}
.header-demo .layui-nav .layui-nav-item{margin: 0 10px;}
.header-demo .layui-nav .layui-this a{padding: 0 30px;}
.component{position: absolute; width: 160px; left: 120px; top: 16px; }
.component .layui-input{height: 30px; padding-left: 12px; background-color: #424652; background-color: rgba(255,255,255,.05); border: none 0; color: #fff; color: rgba(255,255,255,.5); font-size: 12px;}
.component .layui-form-select .layui-edge{display: none; border-top-color: #999;}
.component .layui-form-select dl{top: 36px; background-color: rgba(255,255,255,.9)}
.header-demo .component{left: 185px;}
.kaisou-sort1{
  margin-left: 42px;
}
.kaisou-floors .layui-row{
  border: 4px solid white;
}
/* 适配多设备 */
.site-out-up{-webkit-animation-duration: 3s; animation-duration: 3s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: site-anim-closeup; animation-name: site-anim-closeup; overflow: hidden;}

//购物车样式
/*shopcart-content*/
.shopcart-content{width:100%;}
.shopcart-content .banner-bg{height: 180px; margin:50px auto; padding-left: 68px; box-sizing: border-box; color: #fff}
.shopcart-content .banner-bg h3{font-size: 36px; padding:40px 0 20px 0;}
.shopcart-content .banner-bg p{font-size: 20px; }
.shopcart-content .cart{padding-bottom:0;}
.shopcart-content .cart-table-th{height: 50px; line-height: 50px; background:  #f5f5f5;}
.shopcart-content  .th{float: left; text-align:center;}
.shopcart-content  .th-chk{width: 70px; position: relative; margin-left: 43px; text-align: left;}
.shopcart-content  .th-chk .select-all{cursor: pointer;}
.shopcart-content  .th-chk .select-all label{cursor: pointer;}
.shopcart-content .cart-checkbox{display: inline-block;}
.shopcart-content  .CheckBoxShop{width: 16px; height: 16px; border:1px solid #cccccc; position: relative; top: 4px;}
/*.shopcart-content .th-item{width: 340px; text-align: left; padding-left: 90px; box-sizing: border-box;}*/

.shopcart-content .th-price{width: 200px; }
/*.shopcart-content .th-amount{width: 200px; }*/
.shopcart-content .th-sum{width: 200px;}
.shopcart-content .item-content{border:1px solid #ececee; border-bottom: 0; height: 218px; padding:59px 0; box-sizing: border-box; position: relative;}
.shopcart-content .order-content .th-chk{margin-top: 35px; position: relative; z-index: 2;}
.shopcart-content .order-content .th-item{position: relative;  z-index: 1;}
.shopcart-content .order-content .th-amount div.layui-btn,.shopcart-content .order-content .th-amount input{float: left; border:1px solid #e2e2e2; text-align: center; background: #ffffff; margin-left: -1px; color: #999999;}
.shopcart-content .order-content .th-amount div.layui-btn{width: 28px; height: 38px; padding:0;}
.shopcart-content .order-content .th-amount input{width: 46px; height: 36px;}
.shopcart-content .order-content .th-amount .box-btn{padding-left: 52px;}
.shopcart-content .order-content .th-sum span{line-height: 24px; color: #ee0000; font-weight: bold; }
.shopcart-content .order-content .th-op span{display: block; cursor: pointer; line-height: 24px;}
.shopcart-content .order-content .th-item .item-cont img{float: left; width: 98px; height: 98px;  border:1px solid #ececee; margin-right: 20px;}
.shopcart-content .order-content .th-item .item-cont .text{text-align: left; line-height: 24px;}
.shopcart-content .order-content .th-item .item-cont .text .title{color: #333333;}
.shopcart-content .order-content .th-item .item-cont .text p{color: #888;}
.shopcart-content .FloatBarHolder{line-height: 78px; border:1px solid #ececee; background: #f5f5f5; position: relative;}
.shopcart-content .FloatBarHolder .th-chk {width: 150px;}
.shopcart-content .FloatBarHolder .batch-deletion span{cursor: pointer;}
.shopcart-content .FloatBarHolder .Settlement,.shopcart-content .FloatBarHolder .total{float: right;}
.shopcart-content .FloatBarHolder .Settlement button.layui-btn{width: 160px; height: 84px; line-height: 84px; font-size: 24px; color: #fff; text-align: center; background: #ff5500; border-radius: 0; position: absolute; right: 0; top: -1px;}
.shopcart-content .FloatBarHolder .total{margin-right: 230px;}
.shopcart-content .FloatBarHolder .total span{color: #ee0000; font-size: 26px; font-weight: bold; padding-left: 5px;}
.shopcart-content .FloatBarHolder .th-chk .select-all label{letter-spacing: 4px;}
/*end-shopcart-content*/
/*kaisou 改*/
.kaisou-search input {
  width: 58%;
  float: right;
  display: none;
}
.kaisou-search button{
  margin-left: 10px;
  float: left;
  display: none;
}
.shopcart-content .order-content .kaisou-pruduct-profile{margin-bottom: 40px}
.shopcart-content .order-content .sum{
  color:red;
  float: left;
}
.shopcart-content .order-content .kaisou-price .layui-btn{
  display: inline-block;
  height: 20px;
  line-height: 20px;
  padding: 0 18px;
  background-color: #009688;
  color: #fff;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  float: left;
}
.shopcart-content .order-content .kaisou-price input{
  width: 20px;
  float: left;
}
.shopcart-content .order-content .kaisou-pruduct-profile .title{
  max-width:400px!important;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
  float: left;
}
.shopcart-content .order-content .kaisou-price{
  margin-left: 112px;
}
.shopcart-content .order-content .layui-row{
  padding-top: 0;
}
.shopcart-content .order-content .delete{}
.shopcart-content .order-content .dele-btn{float: right!important;}
.shopcart-content .order-content .th-su {
  float: left;
}
.shopcart-content .order-content .sum {
  float: left;
}
/* 适配多设备 */
@media screen and (max-width: 750px) {
  .layui-main{width: auto; margin: 0 10px;}
  .logo,
  .header-demo .logo{display: block;}
  .component{display: none}
  .header .layui-nav-child{left: auto; right: 0;}
  .site-demo-overflow{overflow: auto;}
  .site-nav-layim{display: none !important;}
  .header .layui-nav .layui-nav-item{margin: 0;}
  .header .layui-nav .layui-nav-item a{padding: 0 20px;}
  .header .layui-nav .layui-nav-item[pc]{display: none;}
  .header .layui-nav .layui-nav-item[mobile]{display: inline-block;}
  .site-banner{height: 300px;}
  .site-banner-bg{background-size: cover;}
  .site-zfj{height: 100px; padding-top: 5px;}
  .site-zfj i{top: 10px; width: 100px; height: 100px; margin-left: -50px; font-size: 100px;}
  .site-desc{background-size: 70%; margin: 0;}
  .site-desc .web-font-desc{padding-top: 20px; font-size: 30px;}
  .site-desc cite{display: none;}
  .site-download{margin-top: 0; }
  .site-download a{height: 40px; line-height: 40px; padding: 0 25px 0 60px; border-radius: 30px; color: #fff; font-size: 16px;}
  .site-download a cite{left: 20px;}
  .site-banner-other{bottom: 10px;}
  .site-idea{margin: 20px 0;}
  .site-idea li{margin: 0 0 20px 0; width: 100%; height: auto; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
  .site-hengfu img{max-width: 100%}
  .site-block .layui-form{margin-right: 0;}
  .layui-layer-dir{display: none;}
  .site-tree{position: fixed; top: 0; bottom: 0; min-height: 0; overflow: auto; z-index: 1000; left: -260px; background-color: #fff;  transition: all .3s; -webkit-transition: all .3s;}
  .site-content{width: 100%; padding: 0; overflow: auto;}
  .site-content img{max-width: 100%;}
  .site-tree-mobile{display: block!important; position: fixed; z-index: 100000; bottom: 15px; left: 15px; width: 50px; height: 50px; line-height: 50px; border-radius: 2px; text-align: center; background-color: rgba(0,0,0,.7); color: #fff;}
  .site-home .site-tree-mobile{display: none!important;}
  .site-mobile .site-tree-mobile{display: none !important;}
  .site-mobile .site-tree{left: 0;}
  .site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.8); z-index: 999;}
  .site-tree-mobile i{font-size: 20px;}
  .layui-code-view{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
  .layui-layout-admin .layui-side{position: fixed; top: 0; left: -260px; transition: all .3s; -webkit-transition: all .3s; z-index: 10000;}
  .layui-body{position: static; bottom: 0; left: 0;}
  .site-mobile .layui-side{left: 0;}
  .site-mobile .layui-side-child{top: 50%; left: 200px; height: 300px; margin-top: -100px;}
  body .layui-layout-admin .footer-demo{position: static; height: auto; line-height: 30px;}
  .footer-demo p{height: auto;}
  .site-demo-area,
  .site-demo-editor,
  .site-demo-result,
  .site-demo-editor textarea,
  .site-demo-result iframe{position: static; width: 100%;}
  .site-demo-editor textarea{height: 350px;}
  .site-demo-zanzhu{display: none;}
  .site-demo-btn{bottom: auto; top: 370px;}
  .site-demo-result iframe{height: 500px;}
  .site-demo-laytpl textarea, .site-demo-laytpl div span{margin: 0;}
  .site-demo-tplres .site-demo-tplh2, .site-demo-tplres .site-demo-tplview{width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
  .site-demo-title{position: static; left: 0;}
  body .layui-layout-admin .site-demo{position: static;}
  .site-demo-code{position: static; height: 350px;}

  /*kaisou*/
  .mod_help .layui-container{
    display: none;
  }
  .ng-promise-box{display: none}
  body{
    margin-bottom: 200px!important;
  }
  .kaisou-floors .layui-row{
    padding-top: 0!important;
  }
  .kaisou-search input {
    width: 50%;
    float: right;
    display: block!important;
  }
  .layui-carousel{
    height: 110px!important;
  }
  .kaisou-floors{
    padding: 15px;
  }
  .kaisou-sort1{
    margin-left: 0;
  }
  .shopcart-content .th-chk {
    width: 40px;
    position: relative;
    margin-left: 0;
    text-align: left;
  }
  .shopcart-content .order-content .th-amount div.layui-btn {
    width: 46px
  }
  .shopcart-content li:nth-child(n+6) {
    margin-top: 37px
  }
  .shopcart-content .th-chk .select-all .cart-checkbox {
    margin-left: 10px
  }
  .shopcart-content .order-content .th-amount .box-btn {
    padding-left: 30px
  }
  .shopcart-content .FloatBarHolder .total {
    margin-right: 100px
  }
  .shopcart-content .FloatBarHolder .Settlement button.layui-btn {
    width: 100px;
    height: 60px;
    line-height: 0;
    font-size: 20px;
    color: #fff;
    text-align: center;
    background: #ff5500;
    border-radius: 0;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  .shopcart-content .order-content .layui-row {
    padding-top: 0;
  }
  .shopcart-content .order-content .kaisou-price .kaisou-mono {
    position: absolute;
    bottom: 0;
  }
  .shopcart-content .order-content .kaisou-price div:nth-child(2) {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .shopcart-content .order-content .kaisou-price .layui-btn {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 18px;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    float: left;
  }
  .shopcart-content .order-content .kaisou-price input {
    width: 20px;
    float: left;
  }
  .shopcart-content .order-content .kaisou-price .box-btn {
    float: left;
  }
  .shopcart-content .order-content .kaisou-pruduct-profile {
    height: 50px;
    overflow: hidden;
  }
  .shopcart-content .order-content .pro-unit {
    visibility: hidden;
    float: right;
  }
  .shopcart-content .order-content .sum {
    float: left;
  }
  .shopcart-content .order-content .kaisou-pruduct-profile .title{
    max-width:200px!important;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
    float: left;
  }
  .shopcart-content .order-content .kaisou-price{
    margin-left:40px;
  }
}
@-webkit-keyframes site-anim-closeup{ /* 特写 */
  from {-webkit-transform: translate3d(0, 0, 0) scale(1);  opacity: 1;}
  to { -webkit-transform: translate3d(0, 400px, 0) scale(2);  opacity: 0.5;}
}
@keyframes site-anim-closeup{
  from {transform: translate3d(0, 0, 0) scale(1); opacity: 1;}
  to {transform: translate3d(0, 400px, 0) scale(2); opacity: 0.5;}
}